<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>蘑菇街-详情页</title>
	<link rel="stylesheet" href="__PUBLIC__/Css/css.css">
	<hdjs/>
	<js file='__CONTROLLER_VIEW__/Js/js.js'/>
</head>
<body>
	<div id="top">
		<div class="inside">
			<div class="top_left">
				<div class="img"></div>
				<a href="">蘑菇街首页</a>
			</div>
			<div class="right">
				<div class="log_reg">
					<if value="{$hd.session.user.uname}">
					<a href="">欢迎:&nbsp&nbsp{$hd.session.user.uname}&nbsp&nbsp登录蘑菇街</a>
					<a href="{|U:'Login/out'}" class='login'>退出</a>
					<else>
					<a href="{|U:'Login/login'}">登录</a>
					<a href="">注册</a>
					</if>
				</div>
				<div class="in_rig">
					<div class="cart_img"></div>
					<a href="" class="cart_g">购物车<span> {$hd.session.cart.totalNum} </span>件</a>
				</div>				
			</div>
		</div>
	</div>
	<div id="title">
		<div class="tit_one">
			<div class="in"></div>
		</div>
		<div class="tit_two">
			<dl>
				<dt> 依心怡衣女装</dt>
				<dd>关注本店</dd><dd>5225粉丝</dd>				
			</dl>
		</div>
		<div class="tit_three">
			<div class="inside">
				<input type="text" class="tit_input" value="输入商品名称">
				<a href="" class="all">搜全站</a>
				<a href="" class="only">搜本店</a>
			</div>
		</div>
	</div>
	<div id="ad">
		<div class="inside">
			<img src="__PUBLIC__/Images/13.jpg" alt="">
		</div>
	</div>
	<!-- 遮罩层 -->
	<div class="zhezhao"></div>
	<!-- 加入购物车 -->
	<div id="box">
		<div class="content">
			<div class="clear_fix">
				<a href="javascript:;" id='gouwuche'></a>
			</div>
			<div class="module-cart-box">
				<div class="wenzi">
					<span></span>
					<p>已将商品添加到购物车</p>
				</div>
				<div class="gou">
					<a href="{|U:'Cart/index'}">去购物车结算</a>
				</div>
			</div>
			<div class="pic">
				<div class="wenzi">
					<p>购买过该商品的菇凉还购买了：</p>
					<div class="cart_pic">
						<img src="__PUBLIC__/Images/40.jpg" alt="">
						<img src="__PUBLIC__/Images/41.jpg" alt="">
						<img src="__PUBLIC__/Images/42.jpg" alt="">
						<img src="__PUBLIC__/Images/33.jpg" alt="">
						<div class="description">
							<a href="">秋冬新品韩版双排扣</a>
							<span>¥235</span>
						</div>
						<div class="description">
							<a href="">秋冬新品韩版双排扣</a>
							<span>¥368</span>
						</div>
						<div class="description">
							<a href="">秋冬新品韩版双排扣</a>
							<span>¥565</span>
						</div>
						<div class="description">
							<a href="">秋冬新品韩版双排扣</a>
							<span>¥320</span>
						</div>
						
					</div>
				</div>
			</div>
		</div>
	</div>



	<div id="main">
		<div class="inside">
			<div class="in_left">
				<!-- *********************分配详情图****************************** -->
				
				<div class="img">
					<list from='$gallery' name='$g'>
						<img src="__ROOT__/{$g.img_url}" alt="" width="440" height="660">
					</list>
				</div>
				<div class="gallery_img">
					<ul>
						<list from='$gallery' name='$g'>
						<li class="gallery"><img src="__ROOT__/{$g.thumb_url}" alt="" width="57" height="57"></li>
						</list>
						<!-- <li class="gallery"><img src="__PUBLIC__/Images/16.jpg" alt=""></li>
						<li class="gallery"><img src="__PUBLIC__/Images/18.jpg" alt=""></li>
						<li class="gallery"><img src="__PUBLIC__/Images/19.jpg" alt=""></li>
						<li class="gallery"><img src="__PUBLIC__/Images/20.jpg" alt=""></li> -->
					</ul>
				</div>
				
				<!-- ****************************************************** -->
			</div>
			<div class="in_middle">
				<form action="{|U:'Cart/add'}" method="post" onsubmit='return addCart(this);'>
					<div class="introduce">
						<h1>{$field.goods_name}</h1>
						<div class="goods-price">
							<ul class="clearfix">
								<li>原价:</li>
								<li class="old">¥210.00</li>
							</ul>
							<ul class="clearfix">
								<li>现价:</li>
								<li class="now">{$field.goods_price}</li>
							</ul>
							<ul class="clearfix">
								<li>优惠:</li>
								<li class="sale">初冬大促</li>
							</ul>
							<ul class="clearfix">
								<li>快递:</li>
								<li class="">广东省广州市至全国包邮</li>
							</ul>
							<ul class="clearfix">
								<li>客服:</li>
								<li class="">1581979230@qq.com</li>
							</ul>
		<!-- ********************************************************************************* -->
						<list from='$goodsAttr' name='$ga'>
							<if value="$ga.attr_type eq 2">
							<ul class="clearfix spec">
								<li>{$ga.attr_name}</li>
								<list from='$ga.attr' name='$ga1'>
								<li class="size"  onclick="addActive(this)" >
									<span id='{$ga1.id}'>{$ga1.attr_value}</span></li>	
								</list>
							</ul>
							</if>
						</list>
							<!-- <ul class="clearfix">
								<li>尺码:</li>
								<li class="size"><span>S</span></li>
								<li class="size"><span>M</span></li>
								<li class="size"><span>L</span></li>
								<li class="size"><span>XL</span></li>
								<li class="size"><span>XXL</span></li>
							</ul> -->
		<!-- ***************************************************************************** -->
							<ul class="clearfix">
								<li>数量:</li>
								<li class="number">
									<div class="g_number">
										<span onclick="addNum(this,0)">-</span>
										<input type="text" value="1" name="num">
										<span onclick="addNum(this,1)">+</span>
										<!-- 自定义属性 pass-->
										<span id="message" pass='1'></span>
									</div>
								</li>
							</ul>
							<ul class="goods_buy">
								<input type="button" class="buy one" value="加入购物车" id="addCart" gid='{$field.gid}'>
								<!-- <li class="buy one"><a href="{|U:'Cart/add'}">立刻购买</a></li> -->
								<!-- <input type="submit" class="buy two" value="加入购物车"> -->
								<li class="buy two"><a href="{|U:'Index/index'}" >继续购物</a></li>
								<!-- <li class="buy three"><a href="">先穿后付</a></li> -->
								<input type="hidden" name='gid' value='{$field.gid}'>
								<input type="hidden" value=""  id='productId' name='product_id'>
							</ul>
							<ul class="send">
								<li><a href="" class="baoyou" title="包邮"></a></li>
								<li><a href="" class="yunfei"></a></li>
								<li><a href="" class="tuihuo"></a></li>
								<li><a href="" class="fahuo"></a></li>
							</ul>
						</div>
						
					</div>
				</form>
			</div>
		</div>
	</div>


	<!-- 商品详情展示 -->
	<div id="goods_detail">
		<div class="top">
			<ul class="tab">
				<li class="t_tab one"><a href="">商品详情</a></li>
				<li class="t_tab"><a href="">买家评价</a></li>
				<li class="t_tab">90天<a href="">销售</a></li>
			</ul>
		</div>
		<div id="first_content">
			<div class="fc_top">
				<a href="" class="tags first">尺码材质 </a>
				<a href="" class="tags">穿着效果 </a>
				<a href="" class="tags">整体款式 </a>
				<a href="" class="tags">细节做工 </a>
				<a href="" class="tags">品牌介绍 </a>
				<a href="" class="tags">服务说明 </a>
			</div>
			<div class="fc_con">
				<img src="__PUBLIC__/Images/23.jpg" alt="">
				<div class="fc_detail">
					<div class="kb"></div>
					<div class="h1_title">
						<h5>尺码材质 size</h5>
						<div class="h1_con">
							<div class="stuff">
								<table>
									<tbody>
										<tr>
											<td>领型：连帽/帽领 </td>
											<td>材质：棉 </td>
											<td>填充物：羽绒棉 </td>
										</tr>
										<tr>
											<td>领型：连帽/帽领 </td>
											<td>材质：棉 </td>
											<td>填充物：羽绒棉 </td>
										</tr>
										<tr>
											<td>领型：连帽/帽领 </td>
											<td>材质：棉 </td>
											<td>填充物：羽绒棉 </td>
										</tr>
										<tr>
											<td>领型：连帽/帽领 </td>
											<td>材质：棉 </td>
											<td>填充物：羽绒棉 </td>
										</tr>
									</tbody>
								</table>
							</div>
							<div class="size">
								<table>
									<tbody>
										<tr class="name">
											<td>尺码</td>
											<td>衣长</td>
											<td>袖长</td>
											<td>胸围</td>
											<td>肩宽</td>
										</tr>
										<tr>
											<td>S</td>
											<td>73</td>
											<td>59</td>
											<td>94</td>
											<td>38</td>
										</tr>
										<tr>
											<td>M</td>
											<td>74</td>
											<td>60</td>
											<td>98</td>
											<td>39</td>
										</tr>
										<tr>
											<td>L</td>
											<td>74</td>
											<td>61</td>
											<td>102</td>
											<td>40</td>
										</tr>
										<tr>
											<td>L</td>
											<td>74</td>
											<td>61</td>
											<td>102</td>
											<td>40</td>
										</tr>
										<tr>
											<td>L</td>
											<td>74</td>
											<td>61</td>
											<td>102</td>
											<td>40</td>
										</tr>
									</tbody>
								</table>
							</div>
						</div>
					</div>
					<div class="h2_title">
						<h5>穿着效果 show</h5>
						<div class="h2_con">
							<div class="stuff">
								<!-- <img src="__PUBLIC__/Images/24.jpg" alt="">
								<img src="__PUBLIC__/Images/25.jpg" alt="">
								<img src="__PUBLIC__/Images/26.jpg" alt=""> -->
								<list from='$goods_data' name='$ga'>
									<div>{$ga.goods_body}</div>
								</list>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div id="sec_content">
			
		</div>
		<div id="third_content">
			
		</div>
	</div>
</body>
</html>
